package com.woniuxy.service;

import com.woniuxy.entity.Product;
import com.woniuxy.entity.utils.ResponseEntity;

public interface ProductService {
    public Product addOne(Product product);
    ResponseEntity findOneById(Integer pid);

    ResponseEntity update(Product product);


    ResponseEntity findAllByNameOrPrice(String name, double minPrice, double maxPrice);
}
